<template>
  <div id="app">
    <router-view/>
  </div>
</template>
<script>
import {Mixin} from './utils/mixin.js'
export default {
	mixins: [Mixin],
	created() {
    this.getWinHeight()
	},
	methods: {
		//获取窗体高度
    getWinHeight() {
      const winWidth = (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth)
      const winHeight = (window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight)
      this.setWinWidth(winWidth)
      this.setWinHeight(winHeight)
    }
	}
}
</script>
